/**
 * Issue comment domain class. Should this realy be a timeline can a comment expire?
 */
class IssueComment extends Timeline{
    String comment

    static belongsTo = [issue: Issue]

    static constraints = {
        comment(blank: false)
    }

    public String toString() {
        return "$comment - ($user, $fromDate-$toDate)"
    }
}
